require 'erb'
require 'common/base'

class ARPBase < Base

  attr_accessor :step, :transport, :base_options, :base_transports, :base_variables, :message
  def initialize(step, filename, params = {}, transport="DNS")
   super()
   @transport = transport
   @step = step


   @base_options = "
   "

   @base_variables = "
   "

   @base_transports = '
   DNS = udp(dst_port: 53)
   '

   if !filename.nil?
     template = get_message("ARP", filename)
     erb = ERB.new(template, 0, '%<>')
     @message = erb.result(binding)
   end
  end
end
